package com.ouc.dataMange.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ouc.dataMange.mapper.SysDataCheckMapper;
import com.ouc.dataMange.domain.SysDataCheck;
import com.ouc.dataMange.service.ISysDataCheckService;

/**
 * dataCheckService业务层处理
 * 
 * @author ouc
 * @date 2025-08-06
 */
@Service
public class SysDataCheckServiceImpl implements ISysDataCheckService 
{
    @Autowired
    private SysDataCheckMapper sysDataCheckMapper;

    /**
     * 查询dataCheck
     * 
     * @param id dataCheck主键
     * @return dataCheck
     */
    @Override
    public SysDataCheck selectSysDataCheckById(Integer id)
    {
        return sysDataCheckMapper.selectSysDataCheckById(id);
    }

    /**
     * 查询dataCheck列表
     * 
     * @param sysDataCheck dataCheck
     * @return dataCheck
     */
    @Override
    public List<SysDataCheck> selectSysDataCheckList(SysDataCheck sysDataCheck)
    {
        return sysDataCheckMapper.selectSysDataCheckList(sysDataCheck);
    }

    /**
     * 新增dataCheck
     * 
     * @param sysDataCheck dataCheck
     * @return 结果
     */
    @Override
    public int insertSysDataCheck(SysDataCheck sysDataCheck)
    {
        return sysDataCheckMapper.insertSysDataCheck(sysDataCheck);
    }

    /**
     * 修改dataCheck
     * 
     * @param sysDataCheck dataCheck
     * @return 结果
     */
    @Override
    public int updateSysDataCheck(SysDataCheck sysDataCheck)
    {
        return sysDataCheckMapper.updateSysDataCheck(sysDataCheck);
    }

    /**
     * 批量删除dataCheck
     * 
     * @param ids 需要删除的dataCheck主键
     * @return 结果
     */
    @Override
    public int deleteSysDataCheckByIds(Integer[] ids)
    {
        return sysDataCheckMapper.deleteSysDataCheckByIds(ids);
    }

    /**
     * 删除dataCheck信息
     * 
     * @param id dataCheck主键
     * @return 结果
     */
    @Override
    public int deleteSysDataCheckById(Integer id)
    {
        return sysDataCheckMapper.deleteSysDataCheckById(id);
    }
}
